package java8.pojo;

public interface IEmail {

    default void sendEmail() {
        System.out.println("sending email: " + createEmail());
    }

    default String getTitle() {
        return "Email Title";
    }

    static String getBody() {
        return "Email Body";
    }

    String createEmail();

}